package com.lkd.service;

import com.lkd.entity.Goods;
import com.lkd.entity.ShoppingCart;

import java.util.List;

public interface IShoppingCartService {
    ShoppingCart checkShoppingCart(ShoppingCart shoppingCart);

    int deleteShoppingCart(ShoppingCart shoppingCart);

    Integer addGoods(int userId, int goodsId);

    int insertGoods(ShoppingCart shoppingCart);

    int downGoods(int userId, int goodsId);

    List<ShoppingCart> queryUserGoods(int userId);
}
